import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';
export default async function a003(fd: IFeidaoAiBrowserComponent) {
	// todo
	const ss = document.getElementById('rrs');

	ss.addEventListener('fdwe-get-address', (r) => {
		const s = [];
		//s.push(r.address);
		s.push(r.latitude);
		s.push(r.longitude);
		console.info(s);
		set(fd, 'dz', s);
	});
}
